from django.shortcuts import render,HttpResponse

# Create your views here.

def home(request):
    return render(request,'home.html')

def register(request):
    if request.method == 'POST':
         # 1.读取数据
         user_name = request.POST.get('username')
         user_pwd = request.POST.get('password')

        # 2.数据库比对

    return render(request, 'register1.html', )

def login(request):
    return render(request,'login1.html')
